﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 工艺路线查询对象
    /// </summary>
    public class CksTechnicalFlowNodesQueryDto : PagerInfo
    {
    }

    /// <summary>
    /// 工艺路线输入输出对象
    /// </summary>
    public class CksTechnicalFlowNodesDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "节点编号不能为空")]
        public int NodeId { get; set; }

        [Required(ErrorMessage = "说明不能为空")]
        public string Notes { get; set; }

        [Required(ErrorMessage = "虚拟表ID不能为空")]
        public int TableId { get; set; }

        [Required(ErrorMessage = "是否允许重复加工不能为空")]
        public bool AllowReprocess { get; set; }

        [Required(ErrorMessage = "是否允许OK件重复加工不能为空")]
        public bool AllowOkReprocess { get; set; }

        [Required(ErrorMessage = "结果是否必须OK不能为空")]
        public bool RequireOk { get; set; }

        [Required(ErrorMessage = "前置节点编号不能为空")]
        public int PreNodeId { get; set; }

        [Required(ErrorMessage = "是否验证前置节点不能为空")]
        public bool NeedPrevCheck { get; set; }

        [Required(ErrorMessage = "禁用状态不能为空")]
        public bool Nullity { get; set; }

        [Required(ErrorMessage = "CreatedTime不能为空")]
        public DateTime? CreatedTime { get; set; }

     
    }
}